package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.TestIndex;

/**
 * 首页信息Service接口
 * 
 * @author ruoyi
 * @date 2022-05-14
 */
public interface ITestIndexService 
{
    /**
     * 查询首页信息
     * 
     * @param assessId 首页信息主键
     * @return 首页信息
     */
    public TestIndex selectTestIndexByAssessId(Long assessId);

    /**
     * 查询首页信息列表
     *
     * @param testIndex 首页信息
     * @return 首页信息集合
     */
    public List<TestIndex> selectTestIndexList(TestIndex testIndex);
    public List<TestIndex> selectTestIndexDoneList(TestIndex testIndex);

    public List<TestIndex> selectTestIndexListNew(TestIndex testIndex);
    public List<TestIndex> selectTestIndexListNewChu(TestIndex testIndex);
    public List<TestIndex> selectTestIndexList2(TestIndex testIndex);
    public List<TestIndex> selectTestIndexList3(TestIndex testIndex);

    public List<TestIndex> selectTestIndexListWeek(TestIndex testIndex);
    public List<TestIndex> selectTestIndexDoneListWeek(TestIndex testIndex);

    public List<TestIndex> selectTestIndexListLine1(TestIndex testIndex);

    public List<TestIndex> selectTestIndexListLine2(TestIndex testIndex);


    /**
     * 新增首页信息
     *
     * @param testIndex 首页信息
     * @return 结果
     */
    public int insertTestIndex(TestIndex testIndex);

    /**
     * 修改首页信息
     *
     * @param testIndex 首页信息
     * @return 结果
     */
    public int updateTestIndex(TestIndex testIndex);

    /**
     * 批量删除首页信息
     *
     * @param assessIds 需要删除的首页信息主键集合
     * @return 结果
     */
    public int deleteTestIndexByAssessIds(Long[] assessIds);

    /**
     * 删除首页信息信息
     *
     * @param assessId 首页信息主键
     * @return 结果
     */
    public int deleteTestIndexByAssessId(Long assessId);
}
